Editable cell window placement and RTL fixes.
authorKristian Rietveld <kris@gtk.org>
Sat, 27 May 2006 16:19:53 +0000 (16:19 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Sat, 27 May 2006 16:19:53 +0000 (16:19 +0000)
2006-05-27  Kristian Rietveld  <kris@gtk.org>

Editable cell window placement and RTL fixes.

* gtk/gtktreeview.c (gtk_tree_view_button_press),
(gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
(gtk_tree_view_create_row_drag_icon): Only add indentation to x
if !rtl,
(gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
direction if in rtl mode.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
horizontal_separator is not part of the real background area width,
add 2 * focus_line_width to real_cell_area.x and not
real_background_area.x, fix up event coordinates check in the
PACK_END loop, also set depth to zero at the end of the PACK_END
loop,
(_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
visible cell.

ChangeLog
ChangeLog.pre-2-10

index f5681a9da0c17bfbc970afe5ff5f24b0f102c2fb..a0b8cdb38f6263d1b759d3d89fd3006a77bf0458 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       Editable cell window placement and RTL fixes.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press),
+       (gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
+       (gtk_tree_view_create_row_drag_icon): Only add indentation to x
+       if !rtl,
+       (gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
+       direction if in rtl mode.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       horizontal_separator is not part of the real background area width,
+       add 2 * focus_line_width to real_cell_area.x and not
+       real_background_area.x, fix up event coordinates check in the
+       PACK_END loop, also set depth to zero at the end of the PACK_END
+       loop,
+       (_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
+       visible cell.
+
 2006-05-26  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/stock-icons/24/gtk-orientation-landscape.png:
index f5681a9da0c17bfbc970afe5ff5f24b0f102c2fb..a0b8cdb38f6263d1b759d3d89fd3006a77bf0458 100644 (file)
@@ -1,3 +1,23 @@
+2006-05-27  Kristian Rietveld  <kris@gtk.org>
+
+       Editable cell window placement and RTL fixes.
+
+       * gtk/gtktreeview.c (gtk_tree_view_button_press),
+       (gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
+       (gtk_tree_view_create_row_drag_icon): Only add indentation to x
+       if !rtl,
+       (gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
+       direction if in rtl mode.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       horizontal_separator is not part of the real background area width,
+       add 2 * focus_line_width to real_cell_area.x and not
+       real_background_area.x, fix up event coordinates check in the
+       PACK_END loop, also set depth to zero at the end of the PACK_END
+       loop,
+       (_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
+       visible cell.
+
 2006-05-26  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/stock-icons/24/gtk-orientation-landscape.png: